<nz-input-group nzSearch [nzAddOnAfter]="suffixIconButton">
  <input type="number" nz-input placeholder="请输入学号"  #student/>
</nz-input-group>

<ng-template #suffixIconButton>
  <button nz-button nzType="primary" nzSearch (click)="getDetail(student.value)" routerLink="./{{student.value}}"><i nz-icon nzType="search"></i></button>
</ng-template>
<router-outlet></router-outlet>
